package com.dhsc.controller.xtqxgl;

import com.dhsc.domain.ywzx.xtqxgl.BqjspzVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.xtqxgl.IBqjspzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName: BqjspzController
 * @Description: 标签角色配置
 * @date: 2023/11/9 16:10
 * @author: gx
 */
@Controller
@RequestMapping("/xtqxgl")
public class BqjspzController {

    @Autowired
    private IBqjspzService bqjspzService;

    /**
    * @Title: queryBqjspz
    * @Description: 查询标签角色配置
    * @Param: bqjspzVo
    * @return: LayuiTableVo
    * @Author: gx
    * @Date: 2023/11/9 16:12
    */
    @ResponseBody
    @RequestMapping(value="/queryBqjspz")
    public LayuiTableVo queryBqjspz(BqjspzVo bqjspzVo){
        return bqjspzService.queryBqjspz(bqjspzVo);
    }

    /**
     * @Title: saveBqjspz
     * @Description: 保存标签角色配置
     * @Param: bqjspzVo
     * @return: ResponseObject
     * @Author: gx
     * @Date: 2023/11/9 17:49
     */
    @ResponseBody
    @RequestMapping(value="/saveBqjspz")
    public ResponseObject saveBqjspz(BqjspzVo bqjspzVo){
        return bqjspzService.saveBqjspz(bqjspzVo);
    }

    /**
     * @Title: deleteBqjspz
     * @Description: 删除标签角色配置
     * @Param: bqjspzVo
     * @return: ResponseObject
     * @Author: gx
     * @Date: 2023/11/9 17:58
     */
    @ResponseBody
    @RequestMapping(value="/deleteBqjspz")
    public ResponseObject deleteBqjspz(BqjspzVo bqjspzVo){
        return bqjspzService.deleteBqjspz(bqjspzVo);
    }

    /**
     * @Title: queryBqjsxx
     * @Description: 查询标签角色信息
     * @Param: bqjspzVo
     * @return: ResponseObject
     * @Author: gx
     * @Date: 2023/11/9 18:20
     */
    @ResponseBody
    @RequestMapping(value="/queryBqjsxx")
    public ResponseObject queryBqjsxx(){
        return bqjspzService.queryBqjsxx();
    }

    /**
    * @Title: queryBqmc
    * @Description: 查询标签名称
    * @return: ResponseObject
    * @Author: gx
    * @Date: 2023/11/9 19:35
    */
    @ResponseBody
    @RequestMapping(value="/queryBqmc")
    public ResponseObject queryBqmc(){
        return bqjspzService.queryBqmc();
    }
}
